package com.simple.framework.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ixzf
 * @version 1.0
 * @Description 阿里云短信服务配置
 * @Date 2024/8/10 18:00
 */
@Component
@ConfigurationProperties(prefix = "aliyun.sms")
@Getter
@Setter
public class SmsConfiguration {
    // 短信key
    private String accessKeyId;
    // 短信秘钥
    private String accessKeySecret;
    // 短信请求地址
    private String endpoint;
    // 短信签名
    private String signName;
    // 短信模板id
    private String templateCode;
}
